UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Cron and crontab directories must be group-owned by root, sys, bin or cron.


Overview

Finding ID Version Rule ID IA Controls Severity
V-981 GEN003140 SV-45609r1_rule ECLP-1 Medium
Description
To protect the integrity of scheduled system jobs and to prevent malicious modification to these jobs, crontab files must be secured. Failure to give group-ownership of cron or crontab directories to a system group provides the designated group and unauthorized users with the potential to access sensitive information or change the system configuration which could weaken the system's security posture.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2015-10-20

Details

Check Text ( C-42975r1_chk )
Check the group owner of cron and crontab directories.

Procedure:
# ls -ld /var/spool/cron /var/spool/cron/tabs


ls -ld /etc/crontab /etc/cron.{d,daily,hourly,monthly,weekly}
or
# ls -ld /etc/cron*|grep -v deny


If a directory is not group-owned by root, sys, bin, or cron, this is a finding.
Fix Text (F-39007r1_fix)
Change the group owner of cron and crontab directories.
# chgrp root